<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js导入导出</title>
</head>
<body>
    <div id="app">
        <button id="btn">点我展示信息</button>
    </div>
    
    <script type="module">
        // import { cm } from './showMessage.js';
        import messageMethods from './showMessage.js';
        document.getElementById("btn").onclick = function(){
            messageMethods.simpleMessage('我还是被点击了');
        }
    </script>
</body>


</html>